Optimal. Leaf size=168 \[ \frac{\sqrt{\pi } \text{Erf}\left (2 \sqrt{\tanh ^{-1}(a x)}\right )}{256 a}+\frac{\sqrt{\frac{\pi }{2}} \text{Erf}\left (\sqrt{2} \sqrt{\tanh ^{-1}(a x)}\right )}{16 a}-\frac{\sqrt{\pi } \text{Erfi}\left (2 \sqrt{\tanh ^{-1}(a x)}\right )}{256 a}-\frac{\sqrt{\frac{\pi }{2}} \text{Erfi}\left (\sqrt{2} \sqrt{\tanh ^{-1}(a x)}\right )}{16 a}+\frac{\tanh ^{-1}(a x)^{3/2}}{4 a}+\frac{\sqrt{\tanh ^{-1}(a x)} \sinh \left (2 \tanh ^{-1}(a x)\right )}{4 a}+\frac{\sqrt{\tanh ^{-1}(a x)} \sinh \left (4 \tanh ^{-1}(a x)\right )}{32 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.195244, antiderivative size = 168, normalized size of antiderivative = 1., number of steps used = 15, number of rules used = 7, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {5968, 3312, 3296, 3308, 2180, 2204, 2205} \[ \frac{\sqrt{\pi } \text{Erf}\left (2 \sqrt{\tanh ^{-1}(a x)}\right )}{256 a}+\frac{\sqrt{\frac{\pi }{2}} \text{Erf}\left (\sqrt{2} \sqrt{\tanh ^{-1}(a x)}\right )}{16 a}-\frac{\sqrt{\pi } \text{Erfi}\left (2 \sqrt{\tanh ^{-1}(a x)}\right )}{256 a}-\frac{\sqrt{\frac{\pi }{2}} \text{Erfi}\left (\sqrt{2} \sqrt{\tanh ^{-1}(a x)}\right )}{16 a}+\frac{\tanh ^{-1}(a x)^{3/2}}{4 a}+\frac{\sqrt{\tanh ^{-1}(a x)} \sinh \left (2 \tanh ^{-1}(a x)\right )}{4 a}+\frac{\sqrt{\tanh ^{-1}(a x)} \sinh \left (4 \tanh ^{-1}(a x)\right )}{32 a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5968
Rule 3312
Rule 3296
Rule 3308
Rule 2180
Rule 2204
Rule 2205
Rubi steps
\begin{align*} \int \frac{\sqrt{\tanh ^{-1}(a x)}}{\left (1-a^2 x^2\right )^3} \, dx &=\frac{\operatorname{Subst}\left (\int \sqrt{x} \cosh ^4(x) \, dx,x,\tanh ^{-1}(a x)\right )}{a}\\ &=\frac{\operatorname{Subst}\left (\int \left (\frac{3 \sqrt{x}}{8}+\frac{1}{2} \sqrt{x} \cosh (2 x)+\frac{1}{8} \sqrt{x} \cosh (4 x)\right ) \, dx,x,\tanh ^{-1}(a x)\right )}{a}\\ &=\frac{\tanh ^{-1}(a x)^{3/2}}{4 a}+\frac{\operatorname{Subst}\left (\int \sqrt{x} \cosh (4 x) \, dx,x,\tanh ^{-1}(a x)\right )}{8 a}+\frac{\operatorname{Subst}\left (\int \sqrt{x} \cosh (2 x) \, dx,x,\tanh ^{-1}(a x)\right )}{2 a}\\ &=\frac{\tanh ^{-1}(a x)^{3/2}}{4 a}+\frac{\sqrt{\tanh ^{-1}(a x)} \sinh \left (2 \tanh ^{-1}(a x)\right )}{4 a}+\frac{\sqrt{\tanh ^{-1}(a x)} \sinh \left (4 \tanh ^{-1}(a x)\right )}{32 a}-\frac{\operatorname{Subst}\left (\int \frac{\sinh (4 x)}{\sqrt{x}} \, dx,x,\tanh ^{-1}(a x)\right )}{64 a}-\frac{\operatorname{Subst}\left (\int \frac{\sinh (2 x)}{\sqrt{x}} \, dx,x,\tanh ^{-1}(a x)\right )}{8 a}\\ &=\frac{\tanh ^{-1}(a x)^{3/2}}{4 a}+\frac{\sqrt{\tanh ^{-1}(a x)} \sinh \left (2 \tanh ^{-1}(a x)\right )}{4 a}+\frac{\sqrt{\tanh ^{-1}(a x)} \sinh \left (4 \tanh ^{-1}(a x)\right )}{32 a}+\frac{\operatorname{Subst}\left (\int \frac{e^{-4 x}}{\sqrt{x}} \, dx,x,\tanh ^{-1}(a x)\right )}{128 a}-\frac{\operatorname{Subst}\left (\int \frac{e^{4 x}}{\sqrt{x}} \, dx,x,\tanh ^{-1}(a x)\right )}{128 a}+\frac{\operatorname{Subst}\left (\int \frac{e^{-2 x}}{\sqrt{x}} \, dx,x,\tanh ^{-1}(a x)\right )}{16 a}-\frac{\operatorname{Subst}\left (\int \frac{e^{2 x}}{\sqrt{x}} \, dx,x,\tanh ^{-1}(a x)\right )}{16 a}\\ &=\frac{\tanh ^{-1}(a x)^{3/2}}{4 a}+\frac{\sqrt{\tanh ^{-1}(a x)} \sinh \left (2 \tanh ^{-1}(a x)\right )}{4 a}+\frac{\sqrt{\tanh ^{-1}(a x)} \sinh \left (4 \tanh ^{-1}(a x)\right )}{32 a}+\frac{\operatorname{Subst}\left (\int e^{-4 x^2} \, dx,x,\sqrt{\tanh ^{-1}(a x)}\right )}{64 a}-\frac{\operatorname{Subst}\left (\int e^{4 x^2} \, dx,x,\sqrt{\tanh ^{-1}(a x)}\right )}{64 a}+\frac{\operatorname{Subst}\left (\int e^{-2 x^2} \, dx,x,\sqrt{\tanh ^{-1}(a x)}\right )}{8 a}-\frac{\operatorname{Subst}\left (\int e^{2 x^2} \, dx,x,\sqrt{\tanh ^{-1}(a x)}\right )}{8 a}\\ &=\frac{\tanh ^{-1}(a x)^{3/2}}{4 a}+\frac{\sqrt{\pi } \text{erf}\left (2 \sqrt{\tanh ^{-1}(a x)}\right )}{256 a}+\frac{\sqrt{\frac{\pi }{2}} \text{erf}\left (\sqrt{2} \sqrt{\tanh ^{-1}(a x)}\right )}{16 a}-\frac{\sqrt{\pi } \text{erfi}\left (2 \sqrt{\tanh ^{-1}(a x)}\right )}{256 a}-\frac{\sqrt{\frac{\pi }{2}} \text{erfi}\left (\sqrt{2} \sqrt{\tanh ^{-1}(a x)}\right )}{16 a}+\frac{\sqrt{\tanh ^{-1}(a x)} \sinh \left (2 \tanh ^{-1}(a x)\right )}{4 a}+\frac{\sqrt{\tanh ^{-1}(a x)} \sinh \left (4 \tanh ^{-1}(a x)\right )}{32 a}\\ \end{align*}
Mathematica [A] time = 0.48492, size = 152, normalized size = 0.9 \[ \frac{\frac{\sqrt{\tanh ^{-1}(a x)} \text{Gamma}\left (\frac{1}{2},-4 \tanh ^{-1}(a x)\right )}{\sqrt{-\tanh ^{-1}(a x)}}+\frac{8 \sqrt{2} \sqrt{\tanh ^{-1}(a x)} \text{Gamma}\left (\frac{1}{2},-2 \tanh ^{-1}(a x)\right )}{\sqrt{-\tanh ^{-1}(a x)}}-8 \sqrt{2} \text{Gamma}\left (\frac{1}{2},2 \tanh ^{-1}(a x)\right )-\text{Gamma}\left (\frac{1}{2},4 \tanh ^{-1}(a x)\right )+\frac{32 \sqrt{\tanh ^{-1}(a x)} \left (-3 a^3 x^3+2 \left (a^2 x^2-1\right )^2 \tanh ^{-1}(a x)+5 a x\right )}{\left (a^2 x^2-1\right )^2}}{256 a} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.469, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{ \left ( -{a}^{2}{x}^{2}+1 \right ) ^{3}}\sqrt{{\it Artanh} \left ( ax \right ) }}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\int \frac{\sqrt{\operatorname{artanh}\left (a x\right )}}{{\left (a^{2} x^{2} - 1\right )}^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int \frac{\sqrt{\operatorname{atanh}{\left (a x \right )}}}{a^{6} x^{6} - 3 a^{4} x^{4} + 3 a^{2} x^{2} - 1}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{\sqrt{\operatorname{artanh}\left (a x\right )}}{{\left (a^{2} x^{2} - 1\right )}^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]